package cn.iocoder.yudao.module.shop.controller.admin.itemconsume;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class ShopItemConsumeUpdateReqVO {
    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "id不能为空")
    private Long id;

    @Schema(description = "库存id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long storeId;

    @Schema(description = "消耗数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer count;
}
